package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 留言对象 yz_message
 * 
 * @author ruoyi
 * @date 2024-03-29
 */
public class YzMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 留言id */
    private Long messageId;

    /** 留言人姓名 */
    @Excel(name = "留言人姓名")
    private String messageName;

    /** 留言人联系电话 */
    @Excel(name = "留言人联系电话")
    private String messagePhone;

    /** 留言人电子邮箱 */
    @Excel(name = "留言人电子邮箱")
    private String messageEmail;

    /** 留言人地址 */
    @Excel(name = "留言人地址")
    private String messageAddress;

    /** 留言内容 */
    @Excel(name = "留言内容")
    private String messageContent;

    public void setMessageId(Long messageId) 
    {
        this.messageId = messageId;
    }

    public Long getMessageId() 
    {
        return messageId;
    }
    public void setMessageName(String messageName) 
    {
        this.messageName = messageName;
    }

    public String getMessageName() 
    {
        return messageName;
    }
    public void setMessagePhone(String messagePhone) 
    {
        this.messagePhone = messagePhone;
    }

    public String getMessagePhone() 
    {
        return messagePhone;
    }
    public void setMessageEmail(String messageEmail) 
    {
        this.messageEmail = messageEmail;
    }

    public String getMessageEmail() 
    {
        return messageEmail;
    }
    public void setMessageAddress(String messageAddress) 
    {
        this.messageAddress = messageAddress;
    }

    public String getMessageAddress() 
    {
        return messageAddress;
    }
    public void setMessageContent(String messageContent) 
    {
        this.messageContent = messageContent;
    }

    public String getMessageContent() 
    {
        return messageContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("messageId", getMessageId())
            .append("messageName", getMessageName())
            .append("messagePhone", getMessagePhone())
            .append("messageEmail", getMessageEmail())
            .append("messageAddress", getMessageAddress())
            .append("messageContent", getMessageContent())
            .append("createTime", getCreateTime())
            .toString();
    }
}
